﻿<%@ Page Language="C#" MasterPageFile="~/Medianamik/MasterPages/MedianamikModule.master" 
    AutoEventWireup="True" CodeBehind="Edit.aspx.cs" 
    Inherits="Medianamik.UI.Web.Shop.ShopEditAttributeType" ValidateRequest="false" %>
    
<%@ Register src="~/medianamik/typemanagement/Controls/IconPicker.ascx" tagname="IconPicker" tagprefix="med" %>

<asp:Content ID="ContextMenuContent" ContentPlaceHolderID="ContextMenu" runat="server">
    <asp:LinkButton ID="SaveLinkButton" runat="server" CssClass="Action BtSauvegarder" OnClick="Save" 
        Text="<%$ Resources : Medianamik_Global, SaveButtonText %>" />
    <asp:HyperLink ID="CancelLink" runat="server" Text="<%$ Resources: Medianamik_Global, Cancel %>" CssClass="Action BtAnnuler unlock" />
</asp:Content>

<asp:Content ID="CenterContent" ContentPlaceHolderID="CenterContent" runat="server">
    <asp:UpdatePanel ID="uplValidation" runat="server" UpdateMode="Always">
	    <ContentTemplate>
            <asp:ValidationSummary ID="ValidationSummary1" EnableClientScript="false" runat="server" CssClass="ValidationSummary" />
        </ContentTemplate>
    </asp:UpdatePanel><br />
    <p><med:TranslatorBox runat="server" ID="TypeNameTranslations" Required="true" ErrorMessage='<%$ Resources: medianamik_typemanagement, TranslationRequired %>' /></p><br />
    <p><label class="EditionPage"><%=Resources("medianamik_typemanagement","Icon") %></label></p>
    <p><med:IconPicker ID="IconPicker" runat="server" /></p>
    <p><asp:CheckBox ID="cbValuesAreLocalized" runat="server" Text='<%$ Resources: medianamik_typemanagement, ValuesAreLocalized %>' /></p><br />
</asp:Content>